Add messaging v1.43 shared contract#19266
Conversation
Pull request dashboard statusStatus last refreshed: 2026-07-22 16:49:27 UTC.
This automated status or its linked feedback items may be incorrect. If something looks wrong, please report it with the result you expected. |
|
/review |
There was a problem hiding this comment.
Found one API compatibility issue in the messaging semconv overloads.
Triggered by: /review by @trask. Model: gpt-5.5.
|
The automated review found a source-compatibility issue, but its inline comment was skipped because it targeted an unchanged line. I recovered the finding from workflow artifact |
|
/review |
There was a problem hiding this comment.
Found one issue in the new messaging semconv stability helper.
Triggered by: /review by @trask. Model: gpt-5.5.
There was a problem hiding this comment.
Pull request overview
Adds the shared messaging v1.43 semantic-convention contract while retaining legacy compatibility and version-aware javaagent bridging.
Changes:
- Adds operation types, attributes, span names, kinds, and error types.
- Adds exact messaging span keys and compatibility bridges.
- Expands selector, compatibility, and extractor tests.
Reviewed changes
Copilot reviewed 19 out of 19 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
testing-common/.../SemconvMessagingStabilityUtil.java |
Maps legacy assertion keys. |
.../testing/AgentSpanTestingInstrumenter.java |
Includes new span keys. |
.../v1_14/ContextBridgeTest.java |
Tests bridging new keys. |
.../v1_14/SpanKeyBridging.java |
Bridges keys across API versions. |
instrumentation-api/.../SemconvStabilityTest.java |
Tests messaging selection modes. |
instrumentation-api/.../SpanKey.java |
Defines create and settle keys. |
instrumentation-api/.../SemconvStability.java |
Clarifies messaging selection accessors. |
.../MessagingSpanNameExtractorTest.java |
Tests version-dependent names. |
.../MessagingSpanKindExtractorTest.java |
Tests messaging span kinds. |
.../MessagingAttributesExtractorTest.java |
Tests attributes and compatibility. |
.../MessagingSpanNameExtractorBuilder.java |
Adds configurable operation names. |
.../MessagingSpanNameExtractor.java |
Implements v1.43 span naming. |
.../MessagingSpanKindExtractor.java |
Implements version-aware span kinds. |
.../MessagingOperationType.java |
Defines v1.43 operation types. |
.../MessagingAttributesGetter.java |
Adds error-type extraction. |
.../MessagingAttributesExtractorBuilder.java |
Configures operation metadata. |
.../MessagingAttributesExtractor.java |
Emits selected messaging conventions. |
.../MessageOperation.java |
Delegates legacy operations. |
instrumentation-api-incubator/build.gradle.kts |
Enables messaging preview test modes. |
bd2da26 to
751c975
Compare
751c975 to
314728b
Compare
3b683c2 to
9dc5bef
Compare
fa6ce6c to
496b2ae
Compare
496b2ae to
653c0b1
Compare
Dependency baseline:
42f8313f8fd213cfc1e68c87e7ffa73e0237bdb9.Review only:
42f8313f8fd213cfc1e68c87e7ffa73e0237bdb9..653c0b1d622f3fb3b9be44a0c205d3d37dcd2214.Exactly one contract-owned commit. Legacy MessageOperation factories remain legacy; typed factories are selector-aware; convenience typed creation requires a non-null operation type.
Validation: incubator default/stable/dual extractor tests, Kafka 0.11 stable-semconv task, Spotless.